import Vue from 'vue'
import App from './App'
import store from './store'
import zp from './utils/zpui'
import global from './utils/global'
import common from './utils/common'

//头部
import zHeader from '@/components/zp/navigation/header/header'
Vue.component('z-header', zHeader)
//头像
import avatar from '@/components/zp/viewer/avatar/avatar'
Vue.component('avatar', avatar)
//加载中模态框
import loadingModal from '@/components/feedback/loading/modal'
Vue.component('loading-modal', loadingModal)
//底部加载中图标
import footLoading from '@/components/feedback/loading/foot'
Vue.component('loading-foot', footLoading)

Vue.prototype.$systemInfo = zp.getSystemInfo()
Vue.prototype.$global = global
Vue.prototype.$common = common
Vue.prototype.$store = store
Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
	store,
  ...App
})
app.$mount()
